package com.whu.tcx01.hd.calmap;


import java.util.List;

public class OutNodeBean {
    private long newNodeid;
    private double x;
    private double y;
    private List<Long> points;

    public long getNewNodeid() {
        return newNodeid;
    }

    public void setNewNodeid(long newNodeid) {
        this.newNodeid = newNodeid;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }


    public List<Long> getPoints() {
        return points;
    }

    public void setPoints(List<Long> points) {
        this.points = points;
    }

    public OutNodeBean() {
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < points.size(); i++){
            sb.append(points.get(i)).append("\t");
        }

        return  newNodeid + "\t" + x + "\t" + y + "\t" + sb.toString();
    }
}
